package com.fmsh.nfcsensor;

import android.app.Application;

import androidx.appcompat.app.AppCompatDelegate;

import com.fmsh.base.handler.BaseHandler;
import com.fmsh.base.utils.Density;
import com.fmsh.nfcsensor.tools.MyThread;

/**
 * @author wuyajiang
 * @date 2022/11/2
 */
public class App extends Application {



    @Override
    public void onCreate() {
        super.onCreate();
        Density.setDensity(this,360);
        MyThread.getInstance().start();
        // 指定模式日间模式
        AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
    }
}
